package com.digitalart.site.section.subsectiontype {
	import flash.events.Event;

	import com.digitalart.site.assets.Division;

	import flash.display.Sprite;

	/**
	 * @author johan.chaves
	 */
	public class SubSectionTypeView extends Sprite {
		
		public static const SUB_SECTION_VIEW_READY : String = "subsectiontypeready";
		
		public static const DIVISION_POS_X : Number = 180;
		public static const DIVISION_POS_Y : Number = 15;
		
		public function SubSectionTypeView() {
		}
		
		public function init() : void {
			addDivision();
		}
		
		private function addDivision() : void {
			var _division : Division;
			_division = new Division();
			_division.x = DIVISION_POS_X;
			_division.y = DIVISION_POS_Y;
			_division.alpha = 0.3;
			this.addChild(_division);
			dispatchEvent(new Event(SUB_SECTION_VIEW_READY));
		}
		
	}
}
